package com.xb.loan.encryptor.mina.conf;


import org.apache.mina.core.service.IoHandlerAdapter;

public class ServerConf extends MinaConf {
    // connection max num
    private short connMaxNum = 0;
    //  processor使用的线程数
    private int processorCount;
    
    private int sendBufferSize;
    // handler
    private IoHandlerAdapter handler = null;

    public short getConnMaxNum() {
        return connMaxNum;
    }

    public void setConnMaxNum(short connMaxNum) {
        this.connMaxNum = connMaxNum;
    }

    public IoHandlerAdapter getHandler() {
        return handler;
    }

    public void setHandler(IoHandlerAdapter handler) {
        this.handler = handler;
    }

	public int getProcessorCount() {
		return processorCount;
	}

	public void setProcessorCount(int processorCount) {
		this.processorCount = processorCount;
	}

	public int getSendBufferSize() {
		return sendBufferSize;
	}

	public void setSendBufferSize(int sendBufferSize) {
		this.sendBufferSize = sendBufferSize;
	}

}
